AHipButtonMetadata

Undocumented in source.

Constructors

this
this(int id)
Undocumented in source.

Members

Functions

getDownTimeDuration
float getDownTimeDuration()
Undocumented in source.
getLastDownTimeDuration
float getLastDownTimeDuration()
Undocumented in source.
getLastUpTimeDuration
float getLastUpTimeDuration()
Undocumented in source.
getUpTimeDuration
float getUpTimeDuration()
Undocumented in source.
isJustPressed
bool isJustPressed()
Undocumented in source. Be warned that the author may not have intended to support it.
isJustReleased
bool isJustReleased()
Undocumented in source. Be warned that the author may not have intended to support it.
isNewState
bool isNewState()

Useful for looking justPressed and justRelease

isPressed
bool isPressed()
Undocumented in source.
setPressed
void setPressed(bool press)

User API is not expected to call that function. It is used for controlling the input flow

Variables

id
int id;
Undocumented in source.

Meta